<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>Document</title>
</head>
<body>
	asdfasdfasdfasdf
</body>
<script type="text/javascript" src="../jquery.min.js"></script>
<script type="text/javascript" src="S.js"></script>
<script type="text/javascript">

var cover = new S.Cover();
cover.show();
var zindex=  new S.Zindex();
 $(document.body).append('<div id="ss" style="z-index:'+zindex.index()+';width:300px;height:300px;position:absolute;left:300px;top:200px;background:green;">sadfasdfasdf</div>');

document.onclick = function(e) {
	cover.remove();
};
</script>
</html>